<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 网页使用的语言 -->
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>报运单详情</title>
    <link href="/css/bootstrap.min.css" rel="stylesheet">
    <script src="/js/jquery-2.1.0.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container">
    <center><h3>报运单详情页面</h3></center>
    <br>
    <div class="row">
        <div class="col-md-6">
            <label>装船港：</label>
            <span>${export.shipmentPort}</span>
        </div>
        <div class="col-md-6">
            <label>目的港：</label>
            <span>${export.destinationPort}</span>
        </div>
    </div><br>
    <div class="row">
        <div class="col-md-6">
            <label>价格条件：</label>
            <span>${export.priceCondition}</span>
        </div>
        <div class="col-md-6">
            <label>运输方式：</label>
            <span>${export.transportMode}</span>
        </div>
    </div><br>
    <div class="row">
        <div class="col-md-6">
            <label>总箱数：</label>
            <span>${export.boxNums}</span>
        </div>
        <div class="col-md-6">
            <label>总体积：</label>
            <span>${export.measurements}</span>
        </div>
    </div>
    <br><br><br><br>

    <table border="1" class="table table-bordered table-hover">
        <tr class="success">
            <th>编号</th>
            <th>货号</th>
            <th>装箱单位</th>
            <th>数量</th>
            <th>单价</th>
        </tr>
        <c:forEach items="${list}" var="ep" varStatus="vs">
            <tr>
                <td>${vs.index + 1}</td>
                <td>${ep.productNo}</td>
                <td>${ep.packingUnit}</td>
                <td>${ep.cnumber}</td>
                <td>${ep.price}</td>
            </tr>
        </c:forEach>
    </table>


    <div class="form-group" style="text-align: center">
        <a class="btn btn-default" href="/export/verify?id=${export.eid}&state=2">审核成功</a>
        <input class="btn btn-default" type="button" value="返回列表" onclick="history.go(-1)" />
    </div>
</div>
</body>
</html>
